<template>
	<view class="content">
		<uni-search-bar class="searchDom" @confirm="search" @input="input" bgColor="#f2f2f2"></uni-search-bar>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			input(e){
				console.log(e)
			},
			search(e){
				console.log(e)
			}
		}
	}
</script>

<style>
	.content {
		width: 100%;
		height: 100%;
		background-color: #fff;
		/* background-color: rgba(248, 248, 248); */
		/* position: absolute; */
	}
	.searchDom{
		width: 100%;
		height: 100upx;
	}
</style>
